const { ccclass, property } = cc._decorator;

@ccclass
export default class TopUi extends cc.Component {
   
    TopUi: cc.Node = null;
    btn_day_click: cc.Node = null;
    spineNode: cc.Node = null;
    click_days_tip_bg: cc.Node = null;
    clickDayProNode: cc.Node = null;
    cashNode: cc.Node = null;
    bg: cc.Node = null;
    redPaper: cc.Node = null;
    redPaperSpine: cc.Node = null;
    cashCount: cc.Node = null;
    btn_payment: cc.Node = null;
    btn_canPay: cc.Node = null;
    cashTipNode: cc.Node = null;
    caashTipsBg1: cc.Node = null;
    cashTipsLabel: cc.Node = null;
    RICHTEXT_CHILD: cc.Node = null;
    liangwanyuan: cc.Node = null;
    get_img: cc.Node = null;
    fundNode: cc.Node = null;
    fundBg: cc.Node = null;
    btn_fund: cc.Node = null;
    fundSpineNode: cc.Node = null;
    goldCount: cc.Node = null;
    fundTipNode: cc.Node = null;
    tipsBg1: cc.Node = null;
    tipsBg2: cc.Node = null;
    fundTipsLabel: cc.Node = null;
    redPaperRewardNode: cc.Node = null;
    redPaperRewardCount: cc.Node = null;
    fundRewardNode: cc.Node = null;
    fundRewardCount: cc.Node = null;
    btn_set: cc.Node = null; 

    onLoad() {
        this.TopUi = this.node;
        this.btn_day_click = this.TopUi.getChildByName("btn_day_click");
        this.spineNode = this.btn_day_click.getChildByName("spineNode");
        this.click_days_tip_bg = this.btn_day_click.getChildByName("click_days_tip_bg");
        this.clickDayProNode = this.click_days_tip_bg.getChildByName("clickDayProNode");
        this.cashNode = this.TopUi.getChildByName("cashNode");
        this.bg = this.cashNode.getChildByName("bg");
        this.redPaper = this.cashNode.getChildByName("redPaper");
        this.redPaperSpine = this.redPaper.getChildByName("redPaperSpine");
        this.cashCount = this.cashNode.getChildByName("cashCount");
        this.btn_payment = this.cashNode.getChildByName("btn_payment");
        this.btn_canPay = this.cashNode.getChildByName("btn_canPay");
        this.cashTipNode = this.cashNode.getChildByName("cashTipNode");
        this.caashTipsBg1 = this.cashTipNode.getChildByName("caashTipsBg1");
        this.cashTipsLabel = this.cashTipNode.getChildByName("cashTipsLabel");
        this.RICHTEXT_CHILD = this.cashTipsLabel.getChildByName("RICHTEXT_CHILD");
        this.liangwanyuan = this.cashTipNode.getChildByName("liangwanyuan");
        this.get_img = this.cashTipNode.getChildByName("get_img");
        this.fundNode = this.TopUi.getChildByName("fundNode");
        this.fundBg = this.fundNode.getChildByName("fundBg");
        this.btn_fund = this.fundNode.getChildByName("btn_fund");
        this.fundSpineNode = this.btn_fund.getChildByName("fundSpineNode");
        this.goldCount = this.fundNode.getChildByName("goldCount");
        this.fundTipNode = this.fundNode.getChildByName("fundTipNode");
        this.tipsBg1 = this.fundTipNode.getChildByName("tipsBg1");
        this.tipsBg2 = this.fundTipNode.getChildByName("tipsBg2");
        this.fundTipsLabel = this.fundTipNode.getChildByName("fundTipsLabel");
        this.redPaperRewardNode = this.TopUi.getChildByName("redPaperRewardNode");
        this.redPaperRewardCount = this.redPaperRewardNode.getChildByName("redPaperRewardCount");
        this.fundRewardNode = this.TopUi.getChildByName("fundRewardNode");
        this.fundRewardCount = this.fundRewardNode.getChildByName("fundRewardCount");
        this.btn_set = this.TopUi.getChildByName("btn_set");
    }
}
